<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
	<title><c:out value="${applicationTitle}"/> 管理控制台</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<link rel="stylesheet" type="text/css" href='<c:url value="/resources/css/global.css"/>'>
	<link rel="stylesheet" type="text/css" href='<c:url value="/resources/easyui/themes/gray/easyui.css"/>'/>
	<link rel="stylesheet" type="text/css" href='<c:url value="/resources/easyui/themes/icon.css"/>'/>
	<script type="text/javascript" src='<c:url value="/resources/easyui/jquery-1.4.4.min.js"/>'></script>
	<script type="text/javascript" src='<c:url value="/resources/easyui/jquery.easyui.min.js"/>'></script>
</head>
<body class="easyui-layout">
	<div region="north" border="false" style="height:138px;padding:2px;">
		<!-- BEGIN main -->
		<div id="jive-header">
			<div id="jive-logo">
				<img src='<c:url value="/resources/images/login_logo.gif"/>' 
					alt='<c:out value="${applicationTitle}"/>' width="179" height="53" />
			</div>
			<div id="jive-userstatus">
				User Center, 版本: 1.0.0<br/>
				Logged in as <strong><c:out value="${loginAccount.name}"/>
				(<c:out value="${loginAccount.person.name}"/>)</strong>
				- <a href="logout.do">注销</a>
			</div>
			<div id="jive-nav">
				<div id="jive-nav-left"></div>
				<ul>
					<c:forEach var="navi" items="${navigationPages}">
						<li class='<c:if test="${navi == currentNavigationPage}">currentlink</c:if>'>
							<a href="${navi.url}" title="${navi.title}" 
								onmouseover="self.status='${navi.title}';return true;" 
								onmouseout="self.status='';return true;">${navi.text}</a>
						</li>
					</c:forEach>
				</ul>
	            <div id="jive-nav-right"></div>
			</div>
			<div id="jive-subnav">
	            <ul>
	            	<c:forEach var="navi" items="${currentNavigationPage.children}">
		            	<li class='<c:if test="${navi == currentSubNavigationPage}">current</c:if>'>
		            		<a href="${navi.url}" title="${navi.title}" 
		            			onmouseover="self.status='';return true;" 
		            			onmouseout="self.status='';return true;">${navi.text}</a>
		            	</li>
	            	</c:forEach>
	            </ul>
			</div>
		</div>
	</div>
	<!--
	<div region="south" border="false" style="height:0px;padding:2px;background:url('../resources/images/jive-subnav-bg.gif') repeat-x scroll 0 50% #F7F7F7;">
		<div class="jive-footer-copyright">&copy; 2010-2011 iflytek.com</div>
	</div>
	-->
	<div region="center" border="false" style="overflow-x:hidden;overflow-y:hidden">
		<iframe name="mainWindow" frameborder="0" border="0" 
			marginWidth="0" marginHeight="0" src="${page}" 
			style="width:100%;height:100%;border:0px;background-color:white; "></iframe>
	</div>
</body>
</html>